package cn.com.niit.online.music.controller;

@RestController
public class CommentController {

    @Autowired
    private SongListService songListService;

    //省略其他代码......

    // 提交评论
    @PostMapping("/comment/add")
    public R addComment(@RequestBody CommentRequest addCommentRequest) {
        return commentService.addComment(addCommentRequest);
    }

    //省略其他代码......
}
